{/* <wangEditor ref="editor" v-bind="editorProps" /> */}

const editor = ref();
const editorProps = reactive({
  height: '300px',
  placeholder: '请输入产品详情. . .',
  readOnly: false,
})


if (editor.value.getHtml() !== '<p><br></p>') {
    formParams.description = editor.value.getHtml();
  }